migration 7, :create_products do
  up do
    create_table :products do
      column :id, Integer, :serial => true
      column :name, String, :length => 255
      column :price, Float
      column :price_type, String, :length => 255
      column :price_small, Float
      column :price_big, Float
      column :mod_date, DateTime      
      column :type, String, :length => 255
      column :description, String, :length => 255
      column :image, String, :length => 255
      column :account_id, Integer
    end
  end

  down do
    drop_table :products
  end
end
